<!doctype html>
<html>
<head>
    <meta charset="UTF-8" />
    <title>我要当社区扶贫大使，请帮我集赞！</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Wx/css/base.css" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Wx/css/cart.css" />
    <style type="text/css">
        .attention{ position:fixed; width:100%; max-width:640px; height:50px; top:0px; background:rgba(0,0,0,0.5); overflow:hidden; zoom:1; z-index:101;}
        .attention .logo{ position:absolute; left:15px;}
        .attention .logo>img{ display:block; width:40px; height:40px; float:left; margin-top:5px;}
        .attention .logo h3{ margin-left:50px; height:50px; line-height:50px; font-weight:normal; font-size:15px; color:#fff;}
        .attention .logo p{ margin-left:30px;margin-top:4px; font-size:13px; color:#7c7c7c;}
        .attention i{ display:block; width:80px; height:30px; position:absolute; top:10px; right:15px;}
        .attention i input{ display:block; border:none; width:80px; height:30px; border-radius:2px; background:#00bd12; color:#fff; font-size:13px; appearance:none; -webkit-appearance:none;border-radius:0;}
    </style>
</head>
<body>
<div class="detail" style="padding-bottom:60px;">
    <if condition="$focus eq 0">
        <div class="attention">
            <div class="logo">
                <img src="__PUBLIC__/Wx/img/logo02.png"/>
                <h3>乡土味士</h3>
            </div>
            <i><input type="button" value="立即关注" class="gz"/></i>
        </div>
    </if>
    <div class="success-sc">
        <div class="inner">
            <div class="toptit">
                <h2><img src="__PUBLIC__/Wx/img/logo03.png"/></h2>
                <p>社区对接偏远山村，既能吃好的，又能帮助他们</p>
            </div>
            <div class="prointro">
                <div class="name">
                    <div class="pic"><img src="{$member.avatar}"/></div>
                    <h2>{$member.nickname}</h2>
                    <!--<span>助人为乐</span>-->
                </div>
                <div class="product">
                    <!--<p>我要当社区扶贫大使，请帮我集赞！</p>-->
                    <div class="int" onclick="window.location.href='__MODULE__/Foretaste/pro/gid/{$id}'">
                        <div class="pic"><img src="{$h_imgs}"/></div>
                        <div class="proname-sc">
                            <h3>{$title}</h3>
                            <h4>{$order.u_num}<?=getunit($unit)?>精品装</h4>
                            <del>￥{$market}</del>
                            <p><b>{$order.price}积分即可试吃</b><span>{$sumorder}人已免费试吃</span></p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <if condition="$order['state'] neq 6">
            <switch name="order['state']">
                <case value="1">
                    <div class="mess">
                        <p>试吃状态<b>申请成功</b></p>
                        <if condition="$member['storename'] neq ''"><p>取货扶农店铺<b>{$member['storename']}</b></p></if>
                        <p>集赞用时<b>{$order.str_time}</b></p>
                    </div>
                </case>
                <!--<case value="7">
                    <div class="mess">
                        <p>创建时间<b style="color:#333;"><?=date("Y-m-d H:i:s",$order['addtime'])?></b></p>
                        <p>试吃状态<b>申请中，等待揭晓</b></p>
                        <p>揭晓时间<b>次日12:30准时揭晓</b></p>
                        <p>集赞用时<b>{$order.str_time}</b></p>
                    </div>
                </case>-->
            </switch>
            <else />
            <div class="mess">
                <p>试吃状态<b>申请失败</b></p>
            </div>
        </if>
        <div class="mess">
            <p>集赞试吃成功，就有机会当选社区扶贫大使</p>
            <p style="color:#f9790b;">享恩施免费3日游！</p>
        </div>
    </div>
    <div class="button02"><input type="button" value="查看申请队列" onClick="window.location='__MODULE__/foretaste/pro/gid/{$id}'"/></div>
    <div class="page">
        <div class="close"></div>
        <div class="inner">
            <div class="pic"><img src="__PUBLIC__/Wx/images/pic14.jpg"/><p>长按图片【识别二维码】关注公众号</p></div>
            <div class="step">
                <h2>无法识别二维码</h2>
                <p>1.打开微信，点击“添加朋友”</p>
                <p>2.点击“公众号”</p>
                <p>3.搜索公众号：“乡土味士”</p>
                <p>4.点击：关注“，完成</p>
                <h5>精准扶贫 从我做起</h5>
            </div>
        </div>
    </div>
    <!--引用悬浮公共导航文件-->
    <include file="Public:nav" />
</div>
<script src="__PUBLIC__/Wx/js/jquery.js" ></script>
<script>
    $('.gz').click(function(){
        $('.page').css('display','block')
    });
    $('.close').click(function(){
        $('.page').css('display','none')
    });

    $(".click span").click(function(){
        if($(this).text() ==="导航"){
            $(this).text("收起");
            $('.link02').css('display','block')
        }else{
            $(this).text("导航");
            $('.link02').css('display','none')
        }
    });//end fun
</script>
</body>
</html>